﻿@model AutoMail.Models.EmailTemplateViewModel

@{
    ViewData["Title"] = "Anniversary Mail Template Edit";
}

<form asp-action="AnniversaryMailTemplateEdit" style="height:550px">
    <div asp-validation-summary="ModelOnly" class="text-danger"></div>
    <input type="hidden" asp-for="Id" />

    <h4>Anniversary Mail Template Edit</h4>
    <hr />

    <div class="row h-75">
        <div class="form-group h-100">
                <input asp-for="HtmlTemplate" class="form-control h-75" />
                <span asp-validation-for="HtmlTemplate" class="text-danger"></span>
        </div>
    </div>

    <div class="m-sm-2 form-group">
        <input type="submit" value="Save" class="btn btn-primary" />
    </div>
</form>

@section Scripts {
    @{
        await Html.RenderPartialAsync("_ValidationScriptsPartial");
    }
}